package com.jsbj.user.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备表
 * </p>
 *
 * @author jsbj
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysEqu对象", description="设备表")
public class SysEqu implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "实体设备编号")
    private String entityEquNum;

    @ApiModelProperty(value = "设备编号")
    private String equNum;

    @ApiModelProperty(value = "设备名称")
    private String equName;

    @ApiModelProperty(value = "tenant表tenantCode")
    private String tenantCode;

    @ApiModelProperty(value = "sys_org表标段code")
    private String secCode;

    @ApiModelProperty(value = "sys_syste表code")
    private String systemCode;

    @ApiModelProperty(value = "设备类型(存放字典key，具体名称看字典表)")
    private String equTypeKey;

    @ApiModelProperty(value = "设备类型（存放字典value，具体名称看字典表）")
    private String equTypeValue;

    @ApiModelProperty(value = "设备所属项目地址")
    private String equAddress;

    @ApiModelProperty(value = "设备排序")
    private Integer equSort;

    @ApiModelProperty(value = "所属厂家")
    private String deviceCompany;

    @ApiModelProperty(value = "设备型号")
    private String modelNum;

    @ApiModelProperty(value = "安装日期")
    private String installDay;

    @ApiModelProperty(value = "SIM卡号")
    private String simNumber;

    @ApiModelProperty(value = "SIM卡密")
    private String simPwd;

    @ApiModelProperty(value = "归属拌和站设备id(自关联)")
    private String mpEquId;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "SN号")
    private String snNum;

    @ApiModelProperty(value = "是否有效，0 – 有效，1 – 无效")
    private Integer disabled;

    @ApiModelProperty(value = "创建者")
    private String createrId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateId;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "设备类型描述")
    @TableField(exist = false)
    private String equTypeDesc;

    @ApiModelProperty(value = "设备是否需要特殊处理 0否 1是")
    @TableField(exist = false)
    private Integer isSpecialDeal;

    @ApiModelProperty(value = "租户名称")
    @TableField(exist = false)
    private String tenantName;

    @ApiModelProperty(value = "标段名称")
    @TableField(exist = false)
    private String secName;

    @ApiModelProperty(value = "系统名称")
    @TableField(exist = false)
    private String systemName;

    @ApiModelProperty(value = "角色名称")
    @TableField(exist = false)
    private String roleName;

    @ApiModelProperty(value = "角色id")
    @TableField(exist = false)
    private String roleId;

    @ApiModelProperty(value = "试验室code")
    @TableField(exist = false)
    private String trialRoomCode;

    @ApiModelProperty(value = "试验室名称")
    @TableField(exist = false)
    private String trialRoomName;

}
